package com.zrf.hibernate.pojo;

/**
 * Order entity. @author MyEclipse Persistence Tools
 */

public class Order implements java.io.Serializable {

	// Fields

	private Integer orderid;
	private Buyer buyer;
	private String ordertext;
	private Integer state;

	// Constructors

	/** default constructor */
	public Order() {
	}

	/** minimal constructor */
	public Order(Integer orderid) {
		this.orderid = orderid;
	}

	/** full constructor */
	public Order(Integer orderid, Buyer buyer, String ordertext, Integer state) {
		this.orderid = orderid;
		this.buyer = buyer;
		this.ordertext = ordertext;
		this.state = state;
	}

	// Property accessors

	public Integer getOrderid() {
		return this.orderid;
	}

	public void setOrderid(Integer orderid) {
		this.orderid = orderid;
	}

	public Buyer getBuyer() {
		return this.buyer;
	}

	public void setBuyer(Buyer buyer) {
		this.buyer = buyer;
	}

	public String getOrdertext() {
		return this.ordertext;
	}

	public void setOrdertext(String ordertext) {
		this.ordertext = ordertext;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}